home *** CD-ROM | disk | FTP | other *** search
/ Gekikoh Dennoh Club 2 / Gekikoh Dennoh Club Vol. 2 (Japan).7z / Gekikoh Dennoh Club Vol. 2 (Japan) (Track 01).bin / tools / xsp200_2 / xsp200_2.lzh / XSP2lib.H < prev    next >
Text File  |  1996-08-21  |  1KB  |  49 lines

  1. /*■□■□■□■ 複合スプライトのフレームデータ構造体 ■□■□■□■*/
  2.  
  3. typedef    struct    {
  4.     short    vx;                /* 相対座標データ */
  5.     short    vy;                /* 相対座標データ */
  6.     short    pt;                /* スプライトパターンNo.*/
  7.     short    rv;                /* 反転コード */
  8. } XOBJ_FRM_DAT ;
  9.  
  10.  
  11. /*□■□■□■ 複合スプライトのリファレンスデータ構造体 □■□■□■*/
  12.  
  13. typedef    struct    {
  14.     short    num;            /* 合成スプライト数 */
  15.     void    *ptr;            /* 開始位置へのポインター */
  16.     short    unused;            /*(未使用)*/
  17. } XOBJ_REF_DAT ;
  18.  
  19.  
  20. /*□■□■□■□ ラスター割り込み処理のタイムチャート □■□■□■□*/
  21.  
  22. typedef    struct    {
  23.     short    ras_no ;        /* 割り込みラスターナンバー */
  24.     void    (* proc)() ;    /* 割り込み処理関数へのポインター */
  25. } XSP_TIME_CHART ;
  26.  
  27.  
  28.  
  29. void    xsp_on() ;
  30. void    xsp_off() ;
  31. void    xsp_pcgdat_set(void *,char *,short) ;
  32. void    xsp_pcgmask_on(short,short) ;
  33. void    xsp_pcgmask_off(short,short) ;
  34. void    xsp_mode(short) ;
  35. void    xsp_objdat_set(void *) ;
  36. short    xsp_vsync(short);
  37. short    xsp_set(short,short,short,short) ;
  38. void    xobj_set(short,short,short,short) ;
  39. short    xsp_set_st(void *) ;
  40. void    xobj_set_st(void *) ;
  41. short    xsp_out() ;
  42. void    xsp_vertical(short) ;
  43.  
  44. void    xsp_vsyncint_on(void *) ;
  45. void    xsp_vsyncint_off() ;
  46. void    xsp_hsyncint_on(void *) ;
  47. void    xsp_hsyncint_off() ;
  48.  
  49.